if(t == this.btnAutoFlip || t == this.btnContents || t == this.btnFirstPage || t == this.btnLastPage || t == this.btnNextPage || t == this.btnPrevPage || t == this.btnSearch || t == this.btnThumbs || t == this.tbPage || t == this.imgLogo) return;
if(singleMode) s += "<button onclick=\"addBookmark(0)\">Add Bookmark</button>"; else {
if(lbEnable) s += "<button onclick=\"addBookmark(-1)\">Add Left Bookmark</button>"; else s += "<button disabled=\"disabled\">Add Left Bookmark</button>";
if(rbEnable) s += "<button onclick=\"addBookmark(1)\">Add Right Bookmark</button>"; else s += "<button disabled=\"disabled\">Add Right Bookmark</button>";
}
s += "<button>Remove All</button>";
s += "</div>";
s += "<ul style=\"margin:20px 0px 0px 0px;padding-left:5px;padding-right:5px;\">";
if(bookmarks != null) {
var _g1 = 0, _g = bookmarks.length;
while(_g1 < _g) {
var i = _g1++;
var bookmark = bookmarks[i];
s += core.HtmlHelper.toBookmarkNodeHtml(bookmark);